<!-- AUTHORS: Yiwei (Alan) Han, Kevin Lam -->

<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Preferences - UBC Course Companion</title>
<link rel="stylesheet" type="text/css" media="all"
	href="/style/worklist.css" />
</head>
<body>

	<div id="navdiv">
		<%@ include file="header.jsp"%>
	</div>
	<%@ include file="feed.jsp"%>
	<div id="bg">
		<img id="bg-img" src="/images/bg-brushed-aluminum.png" />
	</div>

	<div id="content">

		<div class="pref-header">
			<p>Your Preferences</p>
		</div>

		<div class="prefs">
		<form action="/auth/preferences" method="post">
			<p>Notification Type:</p>
			<input type="radio" name="notifyconfig" value="1" /> Email <input
				type="radio" name="notifyconfig" value="2" /> SMS

			<p>Phone Number:</p>
			<input type="text" name="phone" size="20" />


			<p>Carrier:</p>

			<select name="carrier" class="carrier-dropdown">
				<option value="">Select your mobile carrier</option>
				<option value="<NUMBER>@sms.wirefree.informe.ca">Aliant</option>
				<option value="<NUMBER>@txt.bell.ca">Bell/Solo</option>
				<option value="<NUMBER>@fido.ca">Fido</option>
				<option value="<NUMBER>@msg.telus.ca">Koodo</option>
				<option value="<NUMBER>@text.mtsmobility.com">MTS Mobility</option>
				<option value="<NUMBER>@mobiletxt.ca">PC Telecom</option>
				<option value="<NUMBER>@pcs.rogers.com">Rogers</option>
				<option value="<NUMBER>@sms.sasktel.com">SaskTel</option>
				<option value="<NUMBER>@vmobile.ca">Virgin Mobile</option>
			</select> 
			
			<input type="submit" name="Set preference" value="Confirm" class="pref-confirm"/>
		</form>
		</div>
		<%-- <form action="/auth/preferences" method="post">
			<table border="0" cellpadding="0" cellspacing="0">
				<tr>
					<td>Phone Number:</td>
					<td><input type="text" name="phone" size="20" /></td>
				</tr>
				<tr>
					<td>Notification Type:</td>
					<td><input type="radio" name="notifyconfig" value="1" />
						Email <input type="radio" name="notifyconfig" value="2" /> SMS</td>
				</tr>
				<tr>
					<td>Carrier</td>
					<td><select name="carrier">
							<option value="">Select your mobile carrier</option>
							<option value="<NUMBER>@sms.wirefree.informe.ca">Aliant</option>
							<option value="<NUMBER>@txt.bell.ca">Bell/Solo</option>
							<option value="<NUMBER>@fido.ca">Fido</option>
							<option value="<NUMBER>@msg.telus.ca">Koodo</option>
							<option value="<NUMBER>@text.mtsmobility.com">MTS
								Mobility</option>
							<option value="<NUMBER>@mobiletxt.ca">PC Telecom</option>
							<option value="<NUMBER>@pcs.rogers.com">Rogers</option>
							<option value="<NUMBER>@sms.sasktel.com">SaskTel</option>
							<option value="<NUMBER>@vmobile.ca">Virgin Mobile</option>
					</select></td>
				</tr>
				<tr>
					<td></td>
					<td><input type="submit" name="Set preference" />
				</tr>
			</table>
		</form> --%>
	</div>
	<div id="footer-wrap">
		<div id="footer">
			<img
				src="http://code.google.com/appengine/images/appengine-noborder-120x30.gif"
				alt="Powered by Google App Engine" />
			<p class="about">&copy; 2011 UBC Course Companion</p>
		</div>
	</div>
</body>
</html>